package demo;
import demo2.Test1;

//不同包中的子类
public class Test3 extends Test1{
    public void func() {
        System.out.println(super.a);
    }
    public static void main(String[] args) {
        //Test1 test1 = new Test1();
        Test3 test3 = new Test3();
        test3.func();
        //System.out.println(test1.a);
    }
}
